﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace SmartPlant.Model.DbContext
{
    /// <summary>
    ///
    ///</summary>
    [SugarTable("COMPONENT_MOD")]
    public class ComponentMod
    {
        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MOD_ID", IsPrimaryKey = true)]
        public decimal CmpntModId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MFR_ID")]
        public decimal CmpntMfrId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MOD_NAME")]
        public string CmpntModName { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MOD_DESC")]
        public string CmpntModDesc { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PROJ_ID")]
        public decimal ProjId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SITE_ID")]
        public decimal SiteId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PLANT_ID")]
        public decimal PlantId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "AREA_ID")]
        public decimal AreaId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "UNIT_ID")]
        public decimal UnitId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CHG_NUM")]
        public decimal ChgNum { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "USER_NAME")]
        public string UserName { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CHG_STATUS")]
        public string ChgStatus { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CHG_DATE")]
        public DateTime? ChgDate { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PROC_FUNC_ID")]
        public decimal? ProcFuncId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "MOD_COMPANY_IDENTIFICATION")]
        public string ModCompanyIdentification { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MOD_UDF_C01")]
        public string CmpntModUdfC01 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MOD_UDF_C02")]
        public string CmpntModUdfC02 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MOD_UDF_C03")]
        public string CmpntModUdfC03 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MOD_UDF_C04")]
        public string CmpntModUdfC04 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MOD_UDF_C05")]
        public string CmpntModUdfC05 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MOD_UDF_C06")]
        public string CmpntModUdfC06 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MOD_UDF_C07")]
        public string CmpntModUdfC07 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MOD_UDF_C08")]
        public string CmpntModUdfC08 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MOD_UDF_C09")]
        public string CmpntModUdfC09 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MOD_UDF_C10")]
        public string CmpntModUdfC10 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MOD_UDF_C11")]
        public string CmpntModUdfC11 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MOD_UDF_C12")]
        public string CmpntModUdfC12 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MOD_UDF_C13")]
        public string CmpntModUdfC13 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MOD_UDF_C14")]
        public string CmpntModUdfC14 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MOD_UDF_C15")]
        public string CmpntModUdfC15 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MOD_UDF_C16")]
        public string CmpntModUdfC16 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MOD_UDF_C17")]
        public string CmpntModUdfC17 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MOD_UDF_C18")]
        public string CmpntModUdfC18 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MOD_UDF_C19")]
        public string CmpntModUdfC19 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MOD_UDF_C20")]
        public string CmpntModUdfC20 { get; set; }
    }
}
